$(document).ready(function(){
    $("#get").click(function(){
        $.ajax({
            url:"../../memberController/member",
            type:"get",
            dataType:"text",
            success:function(data){
                alert(data);
            }

        });
    });

    $("#post").click(function(){
        $.ajax({
            url:"../../memberController/member",
            type:"post",
            data:{"mid":"0501"},
            dataType:"text",
            success:function(data){
                alert(data);
            }

        });
    });

    $("#put").click(function(){
        $.ajax({
            url:"../../memberController/member",
            type:"put",
            data:{"mid":"0501"},
            dataType:"text",
            success:function(data){
                alert(data);
            }

        });
    });
    $("#patch").click(function(){
        $.ajax({
            url:"../../memberController/member",
            type:"patch",
            data:{"mid":"0501"},
            dataType:"text",
            success:function(data){
                alert(data);
            }

        });
    });
    $("#delete").click(function(){
        $.ajax({
            url:"../../memberController/member",
            type:"delete",
            data:{"mid":"0501"},
            dataType:"text",
            success:function(data){
                alert(data);
            }

        });
    });

});